package com.jumi.microservice.entity;

    import java.math.BigDecimal;
    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 客户明细历史统计
    * </p>
*
* @author 要挑客户管理团队
* @since 2020-11-02
*/
    @ApiModel(value="客户明细历史统计", description="客户明细历史统计")
    public class JmUserTeamHistory implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "用户id")
    private Integer uid;

            @ApiModelProperty(value = "类型：1.昨天，2.7天前，3.30天前")
    private Integer historyType;

            @ApiModelProperty(value = "推广客户")
    private Integer directlyNum;

            @ApiModelProperty(value = "注册客户")
    private Integer indirectlyNum;

            @ApiModelProperty(value = "全部客户")
    private Integer teamNum;

            @ApiModelProperty(value = "成交订单数")
    private Integer orderNum;

            @ApiModelProperty(value = "收益")
    private BigDecimal yongjin;

            @ApiModelProperty(value = "业绩")
    private BigDecimal sales;

            @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

        public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public Integer getUid() {
        return uid;
        }

            public void setUid(Integer uid) {
        this.uid = uid;
        }

    public Integer getHistoryType() {
        return historyType;
    }

    public void setHistoryType(Integer historyType) {
        this.historyType = historyType;
    }

    public Integer getDirectlyNum() {
        return directlyNum;
        }

            public void setDirectlyNum(Integer directlyNum) {
        this.directlyNum = directlyNum;
        }
        public Integer getIndirectlyNum() {
        return indirectlyNum;
        }

            public void setIndirectlyNum(Integer indirectlyNum) {
        this.indirectlyNum = indirectlyNum;
        }
        public Integer getTeamNum() {
        return teamNum;
        }

            public void setTeamNum(Integer teamNum) {
        this.teamNum = teamNum;
        }
        public Integer getOrderNum() {
        return orderNum;
        }

            public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
        }
        public BigDecimal getYongjin() {
        return yongjin;
        }

            public void setYongjin(BigDecimal yongjin) {
        this.yongjin = yongjin;
        }
        public BigDecimal getSales() {
        return sales;
        }

            public void setSales(BigDecimal sales) {
        this.sales = sales;
        }
        public LocalDateTime getCreateTime() {
        return createTime;
        }

            public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
        }

    @Override
    public String toString() {
    return "JmUserTeamHistory{" +
            "id=" + id +
            ", uid=" + uid +
            ", historyType=" + historyType +
            ", directlyNum=" + directlyNum +
            ", indirectlyNum=" + indirectlyNum +
            ", teamNum=" + teamNum +
            ", orderNum=" + orderNum +
            ", yongjin=" + yongjin +
            ", sales=" + sales +
            ", createTime=" + createTime +
    "}";
    }
}
